package com.hangxiang.approval.common;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;

/**
 * 用户表(User)实体类
 *
 * @author makejava
 * @since 2020-11-23 16:29:57
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(description = "用户登录")
public class UserLoginCommon extends Model<UserLoginCommon> implements Serializable {
    private static final long serialVersionUID = 914716273574379519L;


    @ApiModelProperty("电话")
    @NotNull(message = "电话不能为空")
    private String phone;
    /**
     * 密码
     */
    @ApiModelProperty("密码")
    @NotNull(message = "密码不能为空")
    private String password;


}